#include <stdio.h>

int main()
{
    int c, sp, tb, nl;
    
    sp = 0;
    tb = 0;
    nl = 0;

    while ((c = getchar()) != EOF)
    {
        if(c == ' ') 
            sp++;
        if(c == '\t') 
            tb++;
        if(c == '\n') 
            nl++;
    }

    printf("space=%d, table=%d, newline=%d", sp, tb, nl);
    
}